package com.feeyo.monitor.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;

import com.feeyo.monitor.domain.LimitArea;

/**
 * 限制区类dao
 * @Author <a href="mailto:bliulei@variflight.com">liulei</a>
 * @Description Created by liulei on 2017/5/18 下午5:42.
 */
@Mapper
public interface LimitAreaMapper {
    int deleteByPrimaryKey(String id);

    int insert(LimitArea record);

    int insertSelective(LimitArea record);

    LimitArea selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(LimitArea record);

    int updateByPrimaryKey(LimitArea record);
    
    List<LimitArea> selectByPage();
    
    List<LimitArea> selectByAirport(String airport);
    
    int updateDeleteStatus(String areaId);

    List<Map> selectApron();

    int insertApron(Map param);
}